package cn.ac.siom.query.service.impl;


import cn.ac.siom.query.dao.ITab_xwlwDAO;
import cn.ac.siom.query.service.ITab_xwlwService;
import cn.ac.siom.query.vo.Tab_xwlw;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.sql.SQLException;
import java.util.List;

@Service
public class Itab_xwlwServiceImpl implements ITab_xwlwService {


    @Resource
    private ITab_xwlwDAO tab_xwlwDAO;


    @Override
    public List<Tab_xwlw> list_NO(Integer id) throws SQLException {
        return tab_xwlwDAO.findNo(id);
    }

    @Override
    public List<Tab_xwlw> list_page(Integer rownum, Integer page_id) throws SQLException {
        return tab_xwlwDAO.findPage(rownum,page_id);
    }

    @Override
    public Integer list_count() throws SQLException {
        return tab_xwlwDAO.findCount();
    }
}
